x86/cpuid: Handle leaves 0x8000000b-1a in guest_cpuid()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 20 Jan 2017 13:36:36 +0000 (13:36 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 25 Jan 2017 10:26:23 +0000 (10:26 +0000)
commit56e8e81fba32cc87d3c5157c9443c189834cd3bb
tree561ffdcdc534a49b98b2feb26bb05530609fe254
parent8104df97387dc3de412b99ab694e5a828df504db
x86/cpuid: Handle leaves 0x8000000b-1a in guest_cpuid()

Leaves 8000000b-18 are reserved.  Leaf 80000019 is 1G TLB information and leaf
0x8000001a is performance hints.  These leaves have previously been hidden
from guests, but are perfectly safe to expose when appicable.

Update libxc to also expose these leaves.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
tools/libxc/xc_cpuid_x86.c
xen/arch/x86/cpuid.c